﻿@{
    ViewBag.Title = "OrderDetail";
    Layout = null;
}

<!doctype html>
<html ng-app="app">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>订单详情</title>
    <link href="~/Content/Style/gobal.css" rel="stylesheet" type="text/css">
    <link href="~/Content/Style/mune_info.css" rel="stylesheet" type="text/css">
    <script src="~/Content/Script/angular.min.js"></script>
    <script src="~/Scripts/PageJs/Main.js"></script>
    <script src="~/Scripts/PageJs/Order.js"></script>
</head>

<body ng-controller="OrderDetailController">
    <div class="wrap">
        <p class="menu_detail">订单号：{{Detail.vof.FormID}}</p>
        <div class="goods">
            <div class="cont">
                @*<div class="title">
                        <p class="name" ng-bind="Detail.vof.MerName"></p>
                    </div>*@
                @*<div class="title" ng-repeat="item in Detail.FormDisheID">
                        <p class="name" ng-bind="Detail.FormDisheName[$index]"></p>
                        <span class="pice"><span ng-bind="Detail.FormDishesNun[$index]"></span>份&nbsp;<span ng-bind="Detail.FormDishesMon[$index]*0.01|currency:'￥'"></span></span>
                        <div class="clearfix"></div>
                    </div>*@
                <div class="title" ng-repeat="item in Detail.FormDisheID">
                    <p class="name" ng-bind="Detail.FormDisheName[$index]"></p>
                    @*<span class="pice1" ng-bind="Detail.FormDishesNun[$index]+'份'"></span><span class="pice2" ng-bind="Detail.FormDishesMon[$index]*0.01|currency:'￥'"></span>*@
                    <span class="pice1" ng-bind="Detail.FormDishesNun[$index]+'份'"></span><span class="pice2" ng-bind="Detail.FormDishesMon[$index]|currency:'￥'"></span>
                    <div class="cls"></div>
                </div>
                <div class="title">
                    <p class="name">餐盒费</p>
                    <span class="pice" ng-bind="Detail.vof.DelPackMon*0.01|currency:'￥'"></span>
                    <div class="clearfix"></div>
                </div>
                <div class="title" ng-if="Detail.vof.IsTake==1">
                    <p class="name">配送费</p>
                    <span class="pice" ng-bind="Detail.vof.DelFormMon*0.01|currency:'￥'"></span>
                    <div class="clearfix"></div>
                </div>
                @*<div class="title">
                        <p class="name">优惠</p>
                        <span class="pice" style="color: red;" ng-bind="Detail.vof.FormPreMon*0.01|currency:'￥'"></span>
                        <div class="clearfix"></div>
                    </div>*@
                <p class="title1">总计：<a ng-bind="Detail.vof.FormPayMon*0.01|currency:'￥'"></a></p>
            </div>
        </div>
        <div class="ser_info" ng-if="Detail.vof.IsTake==1">
            <div class="cont">
                <p class="title2">本单由西大外卖团队配送并提供售后服务</p>
                <p class="title2">联系人：<span ng-bind="Detail.vof.AccName"></span></p>
                <p class="title2">电话：<span ng-bind="Detail.vof.AccCall"></span></p>
                <p class="title2">送餐地址：<span ng-bind="Detail.vof.FormAddress"></span></p>
                <p class="title2">送餐时间：<span ng-bind="Detail.vof.SenTime"></span></p>
                <p class="title3">备注信息：<span ng-bind="Detail.vof.IntBZ"></span></p>
            </div>
        </div>
        <div class="ser_info" ng-if="Detail.vof.IsTake==2">
            <div class="cont">
                <p class="title2">本单由用户自取</p>
                <p class="title2">下单人：<span ng-bind="Detail.vof.AccName"></span></p>
                <p class="title2">电话：<span ng-bind="Detail.vof.AccCall"></span></p>
                <p class="title2">送达地址：<span ng-bind="Detail.vof.FormAddress"></span></p>
                <p class="title2">送餐时间：<span ng-bind="Detail.vof.SenTime"></span></p>
                <p class="title3">备注信息：<span ng-bind="Detail.vof.IntBZ"></span></p>
            </div>
        </div>
        <div ng-controller="AllLinkCtrl">
            <input class="pj" name="" type="button" value="去评价" ng-if="Detail.vof.IsEva == 0 && Detail.vof.ConIsEva == 2 && ComOpen == 1" ng-click="togoEvaluate(Detail.vof.FormID)">
            <input class="pj" name="" type="button" value="已评价" ng-if="Detail.vof.IsEva != 0" style="background:#fff;color:#000;border:#fff">
        </div>
        @*<div> <input class="pj" name="" type="button" value="去评价"></div>*@
    </div>

</body>
</html>
